<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
    <title>Android Design - 滑动视图</title>
	<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
	<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,mediumitalic" />
	<link rel="stylesheet" type="text/css" href="../css/style.css" />
	<link rel="stylesheet" type="text/css" href="../css/folding.css" />
	<style type="text/css">
	#content .videoInstruction {
		padding-left: 20px;
		background: url('ico_movie_inline.png') left center no-repeat;
	}
	#content .galaxynexusFrame, #content .galaxynexusFrame video {
		height: 384px;
		width: 216px;
	}
	#content .galaxynexusFrame {
		background: transparent url("misc_full_galaxynexus_blank_port_span5.png") top left no-repeat;
		overflow: hidden;
		padding: 75px 31px 76px 33px;
	}
	</style>
	<script type="text/javascript" src="../js/jquery-1.4.4.min.js"></script>
	<script type="text/javascript" src="../js/jquery.common.min.js"></script>
	<script type="text/javascript" src="../js/jquery.folding.min.js"></script>
	<script type="text/javascript" src="../js/adchs.js"></script>
</head>
<body>
	<div id="pageWrapper">
		<div id="header">
			<a href="../index.html">Android Design&nbsp;<span class="headerChs">Android 设计指南非官方简体中文版</span></a>
		</div>
		<div id="navWrapper">
			<div class="divListwHeader foldingList">
				<div class="trigger"><a href="../index.html">开始</a></div>
				<ul class="foldingContainer">
					<li><a href="../get-started/create-vistion.html">创新的视觉效果</a></li>
					<li><a href="../get-started/principles.html">设计原则</a></li>
					<li><a href="../get-started/ui-overview.html">UI 概览</a></li>
				</ul>
			</div>
			<div class="divListwHeader foldingList">
				<div class="trigger"><a href="../style/index.html">风格</a></div>
				<ul class="foldingContainer">
					<li><a href="../style/devices-displays.html">设备和显示</a></li>
					<li><a href="../style/themes.html">主题</a></li>
					<li><a href="../style/touch-feedback.html">触摸反馈</a></li>
					<li><a href="../style/metrics-grids.html">度量单位和网格</a></li>
					<li><a href="../style/typography.html">字体</a></li>
					<li><a href="../style/color.html">颜色</a></li>
					<li><a href="../style/iconography.html">图标</a></li>
					<li><a href="../style/writing.html">写作风格</a></li>
				</ul>
			</div>
			<div class="divListwHeader foldingList initShow">
				<div class="trigger"><a href="index.html">模式</a></div>
				<ul class="foldingContainer">
					<li><a href="new.html">Android 新特性</a></li>
					<li><a href="gestures.html">手势</a></li>
					<li><a href="app-structure.html">应用结构</a></li>
					<li><a href="navigation.html">导航</a></li>
					<li><a href="actionbar.html">操作栏</a></li>
					<li><a href="multi-pane-layouts.html">多视图布局</a></li>
					<li><a class="highlight" href="swipe-views.html">滑动视图</a></li>
					<li><a href="selection.html">选择</a></li>
					<li><a href="confirming-acknowledging.html">确认和提示</a></li>
					<li><a href="notifications.html">通知</a></li>
					<li><a href="widgets.html">小部件</a></li>
					<li><a href="settings.html">设置</a></li>
					<li><a href="help.html">帮助</a></li>
					<li><a href="compatibility.html">兼容性</a></li>
					<li><a href="accessibility.html">可用性</a></li>
					<li><a href="pure-android.html">纯粹的 Android</a></li>
				</ul>
			</div>
			<div class="divListwHeader foldingList">
				<div class="trigger"><a href="../building-blocks/index.html">控件</a></div>
				<ul class="foldingContainer">
					<li><a href="../building-blocks/tabs.html">标签选项卡</a></li>
					<li><a href="../building-blocks/lists.html">列表</a></li>
					<li><a href="../building-blocks/grid-lists.html">网格列表</a></li>
					<li><a href="../building-blocks/scrolling.html">滚动容器</a></li>
					<li><a href="../building-blocks/spinners.html">下拉菜单 (Spinners)</a></li>
					<li><a href="../building-blocks/buttons.html">按钮</a></li>
					<li><a href="../building-blocks/text-fields.html">文本框</a></li>
					<li><a href="../building-blocks/seek-bars.html">滑块</a></li>
					<li><a href="../building-blocks/progress.html">进度条和活动</a></li>
					<li><a href="../building-blocks/switches.html">开关</a></li>
					<li><a href="../building-blocks/dialogs.html">对话框</a></li>
					<li><a href="../building-blocks/pickers.html">选择器</a></li>
				</ul>
			</div>
			<br class="clear" />
		</div>
		<div id="content">
			<div class="contentNav topNav">
				<div class="contentHeaderWraper">
					<h2>滑动视图&nbsp;<a class="originalLink" href="http://developer.android.com/design/patterns/swipe-views.html" target="_blank">Original Version</a></h2>
				</div>
				<div class="buttonWrapper">
					<a class="buttonPrev" href="multi-pane-layouts.html">上一页</a><a class="buttonNext" href="selection.html">下一页</a>
				</div>
			</div>
			<div id="mainContent">
				<p>快捷的导航是良好设计的应用的基础。一般情况下，应用的逻辑层次设计是垂直的。横向导航可以扁平化应用的逻辑层次，并且使的导航更加容易。滑动视图使得用户可以通过简单的手势在条目的详细信息间切换，使得读取信息更加顺畅。</p>
				<div class="contentHeaderWraper">
					<h2>详细信息视图的滑动切换</h2>
				</div>
				<p>应用的常见结构是列表/详细信息模式: 用户先在一个列表中浏览条目，例如图片，表格或者邮件，之后选择一个项目，在另一个屏幕中查看详细内容。</p>
				<img class="nomarginLR" src="swipe_views.png" />
				<p class="caption">列表 (左边) 和详细信息 (右边) 视图。</p>
				<p>在手机上，由于列表和详细信息处在不同的屏幕中，一般情况下，用户要查看另一个条目时，需要首先回到列表，再进入另一条目的详细信息，这种模式又称为“pogo-sticking”。</p>
				<p>当用户想连续查看详细信息时，使用滑动手势在上一页/下一页视图间切换，以避免“pogo-sticking”模式。</p>
				<img class="nomarginRight" src="swipe_views2.png" />
				<p class="caption">通过滑动手势，在 Email 应用中连续浏览不同邮件。如果邮件内容超出了视图范围，用户滑动手势应当先被理解为浏览内容的其它部分，当内容已经达到边界时，继续滑动则会显示下一封邮件。如果直接作出从侧边滑入的手势，则应当理解为切换至下一封邮件。</p>
				<img class="nomarginRight" src="swipe_views3.png" />
				<p class="caption">通过滑动手势，在 Email 应用中连续浏览邮件超出视图的部分，而不是先切换到下一封邮件。</p>
				<div class="contentHeaderWraper">
					<h2>标签的滑动切换</h2>
				</div>
				<div>
					<div class="column col5">
						<div class="galaxynexusFrame">
							<video class="clickPlay" autoplay>
								<source src="http://developer.android.com/design/media/swipe_tabs.mp4" type="video/mp4">
								<source src="http://developer.android.com/design/media/swipe_tabs.webm" type="video/webm">
								<source src="http://developer.android.com/design/media/swipe_tabs.ogv" type="video/ogg">
							</video>
						</div>
						<p class="caption">在通讯录应用中使用滑动手势切换不同的顶级屏幕。</p>
						<p class="videoInstruction">点击重放视频。</p>
					</div>
					<div class="column col8 nomarginRight">
						<p>如果您的应用使用了操作栏标签，那么应当可以通过滑动切换标签。</p>
						<p>&nbsp;</p>
						<div class="contentHeaderWraper">
							<h2>检查清单</h2>
						</div>
						<ul class="circleList">
							<li>
								<p>使用滑动手势在详细信息视图或者标签之间切换。</p>
							</li>
							<li>
								<p>过渡效果伴随着用户手势。不要等用户手势执行完才切换视图。</p>
							</li>
							<li>
								<p>如果您之前使用后退/前进按钮切换视图，现在请使用滑动手势吧。</p>
							</li>
							<li>
								<p>考虑在详细信息视图中添加一些指示，告诉用户当前的条目处于整个列表的什么位置。</p>
							</li>
						</ul>
					</div>
					<div class="clear"></div>
				</div>
			</div><!-- mainContent -->
			<div class="contentNav bottomNav">
				<div class="buttonWrapper">
					<a class="buttonPrev" href="multi-pane-layouts.html">上一页</a><a class="buttonNext" href="selection.html">下一页</a>
				</div>
			</div>
		</div>
		<div class="clear"></div>
		<div id="footer">
			<p><a href="http://adchs.sourceforge.net">Android Design 安卓设计非官方简体中文版</a>&nbsp;-&nbsp;<a href="http://www.sunjw.us/adchs" target="_blank">www.sunjw.us/adchs</a>&nbsp;-&nbsp;感谢&nbsp;<a href="http://www.topfun.us" target="_blank">topfun 同学</a>&nbsp;<a href="http://www.freemindworld.com" target="_blank">Li Fanxi</a>&nbsp;<a href="http://www.apkbus.com" target="_blank">安卓巴士</a>&nbsp;提供的&nbsp;<a href="http://www.topfun.us/adchs/">镜像1</a>&nbsp;<a href="http://www.freemindworld.com/adchs">镜像2</a>&nbsp;<a href="http://www.apkbus.com/design">镜像3</a>。</p>
			<p id="copyright">没有特别说明的话，所有内容按照 <a href="http://creativecommons.org/licenses/by/2.5/" target="_blank">Creative Commons Attribution 2.5</a> 协议授权。<br />基于 <a href="http://developer.android.com/design/" target="_blank">Android Design</a> 翻译而成，部分图片和设计样式也来自于 <a href="http://developer.android.com/design/" target="_blank">Android Design</a>。Android 是 Google 的商标。</p>
			<p>2012-2013&nbsp;-&nbsp;<a href="http://www.sunjw.us/blog" target="_blank">Sun Junwen</a>&nbsp;-&nbsp;sunjw8888 at gmail.com&nbsp;-&nbsp;<a href="http://www.sunjw.us/jsminnpp/" target="_blank">JSMinNpp</a>&nbsp;-&nbsp;<a href="http://www.twitter.com/sunjw" target="_blank" title="Follow me on Twitter"><img src="../imgs/twitter-small.png" alt="Follow me on Twitter"/></a>&nbsp;<a href="http://www.facebook.com/profile.php?id=1444809914" target="_blank" title="Follow me on Facebook"><img src="../imgs/fb-small.png" alt="Follow me on Facebook"/></a>&nbsp;<a href="http://weibo.com/nusjw" target="_blank" title="Follow me on Weibo"><img src="../imgs/weibo-small.png" alt="Follow me on Weibo"/></a>&nbsp;<a href="http://www.renren.com/sunjwvista" target="_blank" title="Follow me on Renren"><img src="../imgs/renren-small.png" alt="Follow me on Renren"/></a>&nbsp;-&nbsp;<g:plusone size="small"></g:plusone></p>
		</div>
	</div>
</body>
</html>
